﻿@inject IDataCacheService _dataCacheService

<MTooltip Left>
    <ActivatorContent>

        <MButton XSmall Fab @attributes="@context.Attrs" Color="primary">
            <MIcon>
                @Icon
            </MIcon>
        </MButton>
    </ActivatorContent>
    <ChildContent>
        <img src="@Image" class="pt-3 pb-3" />
    </ChildContent>
</MTooltip>

@code {
    [Parameter]
    public string Icon { get; set; }

    [Parameter]
    public string Image { get; set; }
}
